package com.resou.reader.data.vip.model;

import java.util.List;

public class VipPrivilege {

    /**
     * privilege_title : privilege
     * privilege_data : [{"id":"31","name":"免费畅读","url":"http://xymh.oss-cn-beijing.aliyuncs.com/Upload/idcard/1555319640794.png","type":"vipPrivilege"},{"id":"32","name":"包外八折","url":"http://xymh.oss-cn-beijing.aliyuncs.com/Upload/idcard/1555319664749.png","type":"vipPrivilege"},{"id":"33","name":"签到特权","url":"http://xymh.oss-cn-beijing.aliyuncs.com/Upload/idcard/1555319581025.png","type":"vipPrivilege"},{"id":"34","name":"身份标识","url":"http://xymh.oss-cn-beijing.aliyuncs.com/Upload/idcard/1555319541789.png","type":"vipPrivilege"},{"id":"35","name":"无广告","url":"http://xymh.oss-cn-beijing.aliyuncs.com/Upload/idcard/1555319599998.png","type":"vipPrivilege"},{"id":"36","name":"生日礼包","url":"http://xymh.oss-cn-beijing.aliyuncs.com/Upload/idcard/1555319621205.png","type":"vipPrivilege"}]
     * package_data : [{"id":"0","vip_day":"7天体验","lineation_price":3,"activity_price":1,"intro_message":"7天体验会员，海量包月书籍免费读","type":"vip_package","auto_price":0},{"id":"1","vip_day":"1个月","lineation_price":18,"activity_price":18,"intro_message":"自动续费1个月，另赠送200热券","type":"vip_package","auto_price":12},{"id":"2","vip_day":"3个月","lineation_price":54,"activity_price":40,"intro_message":"自动续费3个月，另赠送500热券","type":"vip_package","auto_price":30},{"id":"3","vip_day":"6个月","lineation_price":108,"activity_price":73,"intro_message":"自动续费6个月，另赠送1000热券","type":"vip_package","auto_price":60},{"id":"4","vip_day":"12个月","lineation_price":216,"activity_price":128,"intro_message":"自动续费12个月，另赠送1500热券","type":"vip_package","auto_price":108}]
     * ad_data : 1、您的iTunes账户将在确认订阅付费时才会产生费用，自动续费会在到期前1天内扣费，扣费成功后包月VIP自动顺延一个周期。
     * <p>
     * 2、取消自动续费，如需取消续订，请在订购周期到期前至少1天操作。取消方法：打开苹果手机“设置”-->进入“iTunes Store 与 App Store”-->点击“Apple ID”，选择“查看Apple ID”,进入“账户设置”页面，点击“订阅”,选择您想要管理的业务，取消订阅即可。
     * <p>
     * 3、包月VIP属于虚拟服务业务，自行开通成功后不支持退费，请谅解。
     * <p>
     * 4、包月VIP有效期按天数计算，包1个月有效期为30天，包3个月有效期为90天，包6个月有效期为180天，包12个月有效期为360天。
     * <p>
     * 5、包月VIP有效期内，可免费畅读包月书库内所有书籍，不再进行额外扣费。
     * <p>
     * 6、查看《包月协议》《用户协议》《隐私政策》。
     * <p>
     * 7、热搜小说享有对本VIP活动的最终解释权。
     * package_title : VIP套餐信息
     * ad_title : 自动续费服务说明：
     */

    private String privilege_title;
    private String ad_data;
    private String package_title;
    private String ad_title;
    private List<PrivilegeDataBean> privilege_data;
    private List<PackageDataBean> package_data;

    public String getPrivilege_title() {
        return privilege_title;
    }

    public void setPrivilege_title(String privilege_title) {
        this.privilege_title = privilege_title;
    }

    public String getAd_data() {
        return ad_data;
    }

    public void setAd_data(String ad_data) {
        this.ad_data = ad_data;
    }

    public String getPackage_title() {
        return package_title;
    }

    public void setPackage_title(String package_title) {
        this.package_title = package_title;
    }

    public String getAd_title() {
        return ad_title;
    }

    public void setAd_title(String ad_title) {
        this.ad_title = ad_title;
    }

    public List<PrivilegeDataBean> getPrivilege_data() {
        return privilege_data;
    }

    public void setPrivilege_data(List<PrivilegeDataBean> privilege_data) {
        this.privilege_data = privilege_data;
    }

    public List<PackageDataBean> getPackage_data() {
        return package_data;
    }

    public void setPackage_data(List<PackageDataBean> package_data) {
        this.package_data = package_data;
    }

    public static class PrivilegeDataBean {
        /**
         * id : 31
         * name : 免费畅读
         * url : http://xymh.oss-cn-beijing.aliyuncs.com/Upload/idcard/1555319640794.png
         * type : vipPrivilege
         */

        private String id;
        private String name;
        private String url;
        private String type;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }
    }

    public static class PackageDataBean {
        /**
         * id : 0
         * vip_day : 7天体验
         * lineation_price : 3
         * activity_price : 1
         * intro_message : 7天体验会员，海量包月书籍免费读
         * type : vip_package
         * auto_price : 0
         */

        private String id;
        private String vip_day;
        private int lineation_price;
        private int activity_price;
        private String intro_message;
        private String type;
        private int auto_price;
        private String voucher;
        boolean isCheck = false;

        public String getVoucher() {
            return voucher;
        }

        public void setVoucher(String voucher) {
            this.voucher = voucher;
        }

        public boolean isCheck() {
            return isCheck;
        }

        public void setCheck(boolean check) {
            isCheck = check;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getVip_day() {
            return vip_day;
        }

        public void setVip_day(String vip_day) {
            this.vip_day = vip_day;
        }

        public int getLineation_price() {
            return lineation_price;
        }

        public void setLineation_price(int lineation_price) {
            this.lineation_price = lineation_price;
        }

        public int getActivity_price() {
            return activity_price;
        }

        public void setActivity_price(int activity_price) {
            this.activity_price = activity_price;
        }

        public String getIntro_message() {
            return intro_message;
        }

        public void setIntro_message(String intro_message) {
            this.intro_message = intro_message;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public int getAuto_price() {
            return auto_price;
        }

        public void setAuto_price(int auto_price) {
            this.auto_price = auto_price;
        }

    }
}
